package com.example.mapper;

import com.example.entity.po.Honor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HonorMapper {
    //查询所有通知
    List<Honor> queryHonor();
    //添加通知
    int addHonor(Honor honor);
    //删除通知
    int deleteHonor(int honorId);
    //修改通知
    int updateHonor(Honor honor);
    //对荣誉进行模糊查询
    List<Honor> fuzzyHonor(String honorContent);
}
